package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用类，指定注册中心要调用的服务名
 */
@FeignClient("gulimall-coupon")
public interface CouponFeignService {

    /**
     * 远程方法全调用路径及方法名
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCoupon();
}
